/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kreig133.builders;

import java.io.File;

/**
 *
 * @author C.C.-fag
 */
abstract public class AbstractDirector<E,T> implements Director<T> {

    protected ParametrsType type;
    protected Object parametrs;
    protected E base;

    public AbstractDirector(E base, Object parametrs) {
        this.base = base;
        this.parametrs = parametrs;
        if (parametrs instanceof File) {
            type = ParametrsType.XML;
        }
    }

}
